Optimal. Leaf size=36 \[ -\frac {2 i \sqrt {a+i a \tan (c+d x)} \sqrt {e \cos (c+d x)}}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {3515, 3488} \[ -\frac {2 i \sqrt {a+i a \tan (c+d x)} \sqrt {e \cos (c+d x)}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3488
Rule 3515
Rubi steps
\begin {align*} \int \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)} \, dx &=\left (\sqrt {e \cos (c+d x)} \sqrt {e \sec (c+d x)}\right ) \int \frac {\sqrt {a+i a \tan (c+d x)}}{\sqrt {e \sec (c+d x)}} \, dx\\ &=-\frac {2 i \sqrt {e \cos (c+d x)} \sqrt {a+i a \tan (c+d x)}}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.17, size = 36, normalized size = 1.00 \[ -\frac {2 i \sqrt {a+i a \tan (c+d x)} \sqrt {e \cos (c+d x)}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 52, normalized size = 1.44 \[ -\frac {2 i \, \sqrt {2} \sqrt {\frac {1}{2}} \sqrt {e e^{\left (2 i \, d x + 2 i \, c\right )} + e} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} e^{\left (\frac {1}{2} i \, d x + \frac {1}{2} i \, c\right )}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.38, size = 45, normalized size = 1.25 \[ -\frac {2 i \sqrt {e \cos \left (d x +c \right )}\, \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.79, size = 76, normalized size = 2.11 \[ -\frac {2 i \, \sqrt {a} \sqrt {e} \sqrt {-\frac {2 i \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1}}{d \sqrt {-\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - 1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int \sqrt {e\,\cos \left (c+d\,x\right )}\,\sqrt {a+a\,\mathrm {tan}\left (c+d\,x\right )\,1{}\mathrm {i}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {e \cos {\left (c + d x \right )}} \sqrt {i a \left (\tan {\left (c + d x \right )} - i\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________